package com.zja.www.bean.vo;

/**
 * @author Wookie
 * @create 2024/3/16 15:12
 * @description 用户User视图对象
 */
public class UserVO {
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 用户名
     */
    private String userName;
    /**
     * 邮箱
     */
    private String phone;


    public UserVO() {
    }

    public UserVO(Integer userId, String userName, String phone) {
        this.userId = userId;
        this.userName = userName;
        this.phone = phone;
    }

    /**
     * 获取
     *
     * @return userId
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置
     *
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取
     *
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     *
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     *
     * @return email
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     *
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String toString() {
        return "UserVO{userId = " + userId + ", userName = " + userName + ", email = " + phone + "}";
    }
}
